查询 Balance Settlement 对象

通过 balance_settlement 对象的 id 查询一个已创建的 balance_settlement 对象。

请求参数描述
APP_ID required string对应 app 对象的 id,该参数仅需要填写在请求地址内,查看 如何获取App ID
BALANCE_SETTLEMENT_ID required stringbalance_settlement 对象的 id,该参数仅需要填写在请求地址内。

返回

返回一个 balance_settlement 对象,或者一个错误,详见 错误

定义

GET https://api.pingxx.com/v1/apps/{APP_ID}/balance_settlements/{BALANCE_SETTLEMENT_ID}
待补充
待补充
待补充
待补充
待补充
待补充
待补充

请求示例

curl https://api.pingxx.com/v1/apps/app_1Gqj58ynP0mHeX1q/balance_settlements/670180130750711562240000 \
-H "Pingplusplus-Signature: {SIGNATURE}" \
-H "Pingplusplus-Request-Timestamp: 1517312911" \
-u sk_test_ibbTe5jLGCi5rzfH4OqPW9KC:
待补充
待补充
待补充
待补充
待补充
待补充
待补充

返回示例

{
    "id": "670180130750711562240000",
    "object": "balance_settlement",
    "app": "app_1Gqj58ynP0mHeX1q",
    "created": 1517314911,
    "livemode": false,
    "amount": 100,
    "status": "succeeded",
    "user": "user_001",
    "user_fee": 5,
    "charge": "ch_aX9aH8Wf1anHnjbrvTOuv5SK",
    "order_no": "20181517314882",
    "time_credited": 1517314911,
    "time_succeeded": 1517314911,
    "refunded": false,
    "amount_refunded": 0,
    "transaction_no": "20180130054018297440163168",
    "failure_msg": null
}